package com.example.model.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 团队成员关联实体类，对应数据库group_member表
 */
@Data
@Schema(name = "团队成员关联实体类", description = "团队成员信息，对应数据库group_member表")
public class GroupMember {
    @Schema(description = "记录ID，主键", required = true, example = "1")
    private Integer id;             // 记录ID，主键
    
    @Schema(description = "选题记录ID，外键关联student_selection表", required = true, example = "1")
    private Integer selectionId;    // 选题记录ID，外键关联student_selection表
    
    @Schema(description = "学生用户ID，外键关联user表", required = true, example = "1")
    private Integer studentId;      // 学生用户ID，外键关联user表
    
    @Schema(description = "是否组长: 0-否, 1-是", required = true, example = "1")
    private Integer isLeader;       // 是否组长: 0-否, 1-是
}